package com.example.tagsdemo.vo;

import lombok.Data;

import java.io.Serializable;

@Data
public class LayuiDataVO<T> implements Serializable {

    private static final long serialVersionUID = -7259155467172754027L;

    private Integer code;

    private Integer count;

    private String msg;

    private T data;

    public LayuiDataVO() {
        this.code = 0;
    }

    public LayuiDataVO(Integer code, Integer count, String msg, T data) {
        this.code = code;
        this.count = count;
        this.msg = msg;
        this.data = data;
    }

}
